package com.ziyun.pop.common.e.order;

import com.ziyun.pop.common.e.BaseEnum;

/**
 * @author guizhao
 * @Description: 第三方类型枚举类
 * @date 2018-08-06 09:16
 */
public enum ThirdMerchantTypeEnum implements BaseEnum {
    /**
     * 0.中浩紫云
     */
    ZIYUN(0,"中浩紫云"),

    /**
     * 1.自营门店
     */
    ZIYUN_MERCHANT(1,"自营门店"),

    /**
     * 2.小B
     */
    MERCHANT(2,"商户图文店"),

    /**
     * 3.工厂
     */
    FACTOEY(3,"工厂"),
    ;

    private int id;
    private String describe;

    ThirdMerchantTypeEnum(int id, String describe) {
        this.id = id;
        this.describe = describe;
    }

    @Override
    public int toInt() {
        return id;
    }

    @Override
    public String toCode() {
        return null;
    }

    @Override
    public String toDescribe() {
        return describe;
    }
}
